#include "emdata.h"

int main()
{
	//emdata em = emdata_init();
	//emdata_pushback(&em, 1.2);
	//emdata_pushback(&em, 1.4);
	//emdata_pushback(&em, 3.2);
	////emdata_pushback(&em, 11.2);
	////emdata_pushback(&em, 41.4);
	////emdata_pushback(&em, 221.4);
	////emdata_pushback(&em, 37.4);
	//double arr[5] = { 0 };
	//bool ret = emdata_getarray(&em, arr);
	//for (int i = 0; i < em.size; i++)
	//{
	//	printf("%.2lf ", arr[i]);
	//}
	//printf("\n");
	int a = -7;
	int b = 3;
	printf("%d\n", a % b);
	printf("%d\n", (a % b + b));
	printf("%d\n", (a % b + b) % b);
	printf("%d\n", 7 % 3);

	return 0;
}
